Change in openvpn[master]: Deprecate tls-exit option
A message that is not in the archive (sent off-list or not yet received): gerrit.1700479034000.I93afff2372c4150d6bddc8c07fd4ebc8bfb0cc3e@...2715...
Attention is currently required from: flichtenheld.
Hello flichtenheld,
I'd like you to do a code review.
Please visit
http://gerrit.openvpn.net/c/openvpn/+/447?usp=email
to review the following change.
Change subject: Deprecate tls-exit option
......................................................................
Deprecate tls-exit option
This option is questionable and I cannot see any reason to actually use it.
Change-Id: I93afff2372c4150d6bddc8c07fd4ebc8bfb0cc3e
---
M Changes.rst
M doc/man-sections/tls-options.rst
M src/openvpn/options.c
3 files changed, 7 insertions(+), 2 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/47/447/1
Changes.rst +4 -0
@@ -10,6 +10,10 @@ ``--allow-deprecated-insecure-static-crypto`` but will be removed in OpenVPN 2.8. +```tls-exit``` has been deprecated since it is unclear what the use case + for this option is. If you have a valid use case, please reach out since + the will otherwise be removed in the future. + Overview of changes in 2.6 ==========================
doc/man-sections/tls-options.rst +1 -1
@@ -553,7 +553,7 @@ code. --tls-exit - Exit on TLS negotiation failure. + **DEPRECATED** Exit on TLS negotiation failure. --tls-export-cert directory Store the certificates the clients use upon connection to this
src/openvpn/options.c +2 -1
@@ -608,7 +608,7 @@"--tran-window n : Transition window -- old key can live this many seconds\n" " after new key renegotiation begins (default=%d).\n" "--single-session: Allow only one session (reset state on restart).\n" -"--tls-exit : Exit on TLS negotiation failure.\n" +"--tls-exit : (DEPRECATED) Exit on TLS negotiation failure.\n" "--tls-auth f [d]: Add an additional layer of authentication on top of the TLS\n" " control channel to protect against attacks on the TLS stack\n" " and DoS attacks.\n"
@@ -8960,6 +8960,7 @@ }else if (streq (p[0 ],"tls-exit" ) && !p[1 ]) { +msg (M_WARN ,"DEPRECATED OPTION: The option --tls-exit is deprecated." );VERIFY_PERMISSION (OPT_P_GENERAL ); options->tls_exit = true; }
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/447?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I93afff2372c4150d6bddc8c07fd4ebc8bfb0cc3e
Gerrit-Change-Number: 447
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-MessageType: newchange
Attention is currently required from: plaisthos.
flichtenheld has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/447?usp=email )
Change subject: Deprecate tls-exit option
......................................................................
Patch Set 1: Code-Review-1
(3 comments)
Commit Message:
http://gerrit.openvpn.net/c/openvpn/+/447/comment/9a2eea6d_bac3bdc0 :
PS1, Line 9: This option is questionable and I cannot see any reason to actually use it. t_cltsrv.sh uses it, so I think when claiming it is questionable you should remove that usage first.
Patchset:
PS1:
I don't think we should continue using the option when claiming we know of no use-case for it.
File Changes.rst:
http://gerrit.openvpn.net/c/openvpn/+/447/comment/a41e900e_2065f27a :
PS1, Line 15: the will otherwise be removed in the future.
"the option will"
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/447?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I93afff2372c4150d6bddc8c07fd4ebc8bfb0cc3e
Gerrit-Change-Number: 447
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Comment-Date: Mon, 20 Nov 2023 11:40:25 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: flichtenheld.
plaisthos has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/447?usp=email )
Change subject: Deprecate tls-exit option
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
Quoted 1 line
I don't think we should continue using the option when claiming we know of no use-case for it.
So it is more a testing option? If we want to keep it for that we could document it in the man page that it is meant for testing and not for real world use.
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/447?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I93afff2372c4150d6bddc8c07fd4ebc8bfb0cc3e
Gerrit-Change-Number: 447
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-Comment-Date: Mon, 20 Nov 2023 11:49:01 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: flichtenheld <[email protected]...>
Gerrit-MessageType: comment
Attention is currently required from: plaisthos.
flichtenheld has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/447?usp=email )
Change subject: Deprecate tls-exit option
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
Quoted 1 line
So it is more a testing option? If we want to keep it for that we could document it in the man page […]
I don't know, the origins of this options are in the pre-git days, so a quick search didn't bring up anything useful. I'm saying we need to look into this before deciding to deprecate it.
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/447?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I93afff2372c4150d6bddc8c07fd4ebc8bfb0cc3e
Gerrit-Change-Number: 447
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Comment-Date: Mon, 20 Nov 2023 12:01:04 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: plaisthos <[email protected]...>
Comment-In-Reply-To: flichtenheld <[email protected]...>
Gerrit-MessageType: comment
[Openvpn-devel] [XS] Change in openvpn[master]: Document tls-exit option mainly as test option
In reply to a message not in the archiveAttention is currently required from: flichtenheld, plaisthos.
Hello flichtenheld,
I'd like you to reexamine a change. Please visit
http://gerrit.openvpn.net/c/openvpn/+/447?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Code-Review-1 by flichtenheld
Change subject: Document tls-exit option mainly as test option
......................................................................
Document tls-exit option mainly as test option
---
M doc/man-sections/tls-options.rst
1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/47/447/2
doc/man-sections/tls-options.rst +3 -1
@@ -553,7 +553,9 @@ code. --tls-exit - Exit on TLS negotiation failure. + Exit on TLS negotiation failure. This option is useful when doing in + some check script or similar and you want to have only attempt at + connecting. (OpenVPN's own t_cltsrv.sh uses it in this way). --tls-export-cert directory Store the certificates the clients use upon connection to this
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/447?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I93afff2372c4150d6bddc8c07fd4ebc8bfb0cc3e
Gerrit-Change-Number: 447
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-MessageType: newpatchset
[Openvpn-devel] [XS] Change in openvpn[master]: Document tls-exit option mainly as test option
In reply to a message not in the archiveAttention is currently required from: flichtenheld.
plaisthos has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/447?usp=email )
Change subject: Document tls-exit option mainly as test option
......................................................................
Patch Set 2:
(2 comments)
Commit Message:
http://gerrit.openvpn.net/c/openvpn/+/447/comment/fd71717e_4dfcdc38 :
PS1, Line 9: This option is questionable and I cannot see any reason to actually use it.
Quoted 1 line
t_cltsrv.shuses it, so I think when claiming it is questionable you should remove that usage first.
Done
File Changes.rst:
http://gerrit.openvpn.net/c/openvpn/+/447/comment/3268e8cb_33c9d95b :
PS1, Line 15: the will otherwise be removed in the future.
Quoted 1 line
"the option will"
Done
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/447?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I93afff2372c4150d6bddc8c07fd4ebc8bfb0cc3e
Gerrit-Change-Number: 447
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-Comment-Date: Tue, 28 Nov 2023 14:03:30 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: flichtenheld <[email protected]...>
Gerrit-MessageType: comment
[Openvpn-devel] [XS] Change in openvpn[master]: Document tls-exit option mainly as test option
In reply to a message not in the archiveAttention is currently required from: plaisthos.
flichtenheld has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/447?usp=email )
Change subject: Document tls-exit option mainly as test option
......................................................................
Patch Set 2: Code-Review-1
(3 comments)
Patchset:
PS2:
Text needs work
File doc/man-sections/tls-options.rst:
http://gerrit.openvpn.net/c/openvpn/+/447/comment/eb8fc4f8_daf925ac :
PS2, Line 556: Exit on TLS negotiation failure. This option is useful when doing in
Let's try to make the sentence flow better:
"This option can be useful when you only want to make one attempt at connecting, e.g. in a test or monitoring script."
http://gerrit.openvpn.net/c/openvpn/+/447/comment/d383cfac_d29a9e0b :
PS2, Line 558: connecting. (OpenVPN's own t_cltsrv.sh uses it in this way).
"OpenVPN's own test suite"
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/447?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I93afff2372c4150d6bddc8c07fd4ebc8bfb0cc3e
Gerrit-Change-Number: 447
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Comment-Date: Tue, 28 Nov 2023 14:18:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
[Openvpn-devel] [XS] Change in openvpn[master]: Document tls-exit option mainly as test option
In reply to a message not in the archiveAttention is currently required from: flichtenheld.
plaisthos has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/447?usp=email )
Change subject: Document tls-exit option mainly as test option
......................................................................
Patch Set 2:
(2 comments)
File doc/man-sections/tls-options.rst:
http://gerrit.openvpn.net/c/openvpn/+/447/comment/4d388cf4_11246be5 :
PS2, Line 556: Exit on TLS negotiation failure. This option is useful when doing in
Quoted 1 line
Let's try to make the sentence flow better: […]
Acknowledged
http://gerrit.openvpn.net/c/openvpn/+/447/comment/e69984e2_7bdb0b79 :
PS2, Line 558: connecting. (OpenVPN's own t_cltsrv.sh uses it in this way).
Quoted 1 line
"OpenVPN's own test suite"
Acknowledged
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/447?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I93afff2372c4150d6bddc8c07fd4ebc8bfb0cc3e
Gerrit-Change-Number: 447
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-Comment-Date: Thu, 30 Nov 2023 15:03:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: flichtenheld <[email protected]...>
Gerrit-MessageType: comment
[Openvpn-devel] [XS] Change in openvpn[master]: Document tls-exit option mainly as test option
In reply to a message not in the archiveAttention is currently required from: flichtenheld.
Hello flichtenheld,
I'd like you to reexamine a change. Please visit
http://gerrit.openvpn.net/c/openvpn/+/447?usp=email
to look at the new patch set (#3).
The following approvals got outdated and were removed:
Code-Review-1 by flichtenheld
Change subject: Document tls-exit option mainly as test option
......................................................................
Document tls-exit option mainly as test option
---
M doc/man-sections/tls-options.rst
1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/47/447/3
doc/man-sections/tls-options.rst +3 -1
@@ -553,7 +553,9 @@ code. --tls-exit - Exit on TLS negotiation failure. + Exit on TLS negotiation failure. This option can be useful when you only + want to make one attempt at connecting, e.g. in a test or monitoring script. + (OpenVPN's own test suite uses it this way.) --tls-export-cert directory Store the certificates the clients use upon connection to this
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/447?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I93afff2372c4150d6bddc8c07fd4ebc8bfb0cc3e
Gerrit-Change-Number: 447
Gerrit-PatchSet: 3
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-MessageType: newpatchset
[Openvpn-devel] [XS] Change in openvpn[master]: Document tls-exit option mainly as test option
In reply to a message not in the archiveAttention is currently required from: plaisthos.
flichtenheld has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/447?usp=email )
Change subject: Document tls-exit option mainly as test option
......................................................................
Patch Set 3: Code-Review+2
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/447?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I93afff2372c4150d6bddc8c07fd4ebc8bfb0cc3e
Gerrit-Change-Number: 447
Gerrit-PatchSet: 3
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Comment-Date: Fri, 01 Dec 2023 10:28:25 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
PATCH v3 1/1 Document tls-exit option mainly as test option
In reply to a message not in the archiveFrom: Arne Schwabe <[email protected]...>
---
This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/447
This mail reflects revision 3 of this Change. Acked-by according to Gerrit (reflected above):
Frank Lichtenheld <[email protected]...>
doc/man-sections/tls-options.rst +3 -1
@@ -553,7 +553,9 @@ code. --tls-exit - Exit on TLS negotiation failure. + Exit on TLS negotiation failure. This option can be useful when you only + want to make one attempt at connecting, e.g. in a test or monitoring script. + (OpenVPN's own test suite uses it this way.) --tls-export-cert directory Store the certificates the clients use upon connection to this
[Openvpn-devel] [PATCH applied] Re: Document tls-exit option mainly as test option
Straight and to the point :-)
Your patch has been applied to the master and release/2.6 branch.
commit ee6417e9d602d7d2db018739f07724b4660bf980 (master) commit 350bdd85431548a7043085e475d6c8c611e2239f (release/2.6)
Author: Arne Schwabe Date: Fri Dec 1 12:19:37 2023 +0100
Document tls-exit option mainly as test option
Signed-off-by: Arne Schwabe <[email protected]...>
Acked-by: Frank Lichtenheld <[email protected]...>
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg27626.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering
[Openvpn-devel] [XS] Change in openvpn[master]: Document tls-exit option mainly as test option
In reply to a message not in the archivecron2 has uploaded a new patch set (#4) to the change originally created by plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/447?usp=email )
The following approvals got outdated and were removed:
Code-Review+2 by flichtenheld
Change subject: Document tls-exit option mainly as test option
......................................................................
Document tls-exit option mainly as test option
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg27626.html
---
M doc/man-sections/tls-options.rst
1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/47/447/4
doc/man-sections/tls-options.rst +3 -1
@@ -553,7 +553,9 @@ code. --tls-exit - Exit on TLS negotiation failure. + Exit on TLS negotiation failure. This option can be useful when you only + want to make one attempt at connecting, e.g. in a test or monitoring script. + (OpenVPN's own test suite uses it this way.) --tls-export-cert directory Store the certificates the clients use upon connection to this
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/447?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I93afff2372c4150d6bddc8c07fd4ebc8bfb0cc3e
Gerrit-Change-Number: 447
Gerrit-PatchSet: 4
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-MessageType: newpatchset
[Openvpn-devel] [XS] Change in openvpn[master]: Document tls-exit option mainly as test option
In reply to a message not in the archivecron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/447?usp=email )
Change subject: Document tls-exit option mainly as test option
......................................................................
Document tls-exit option mainly as test option
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg27626.html
---
M doc/man-sections/tls-options.rst
1 file changed, 3 insertions(+), 1 deletion(-)
doc/man-sections/tls-options.rst +3 -1
@@ -553,7 +553,9 @@ code. --tls-exit - Exit on TLS negotiation failure. + Exit on TLS negotiation failure. This option can be useful when you only + want to make one attempt at connecting, e.g. in a test or monitoring script. + (OpenVPN's own test suite uses it this way.) --tls-export-cert directory Store the certificates the clients use upon connection to this
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/447?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I93afff2372c4150d6bddc8c07fd4ebc8bfb0cc3e
Gerrit-Change-Number: 447
Gerrit-PatchSet: 4
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-MessageType: merged